package thread;

/**
 * @Description: 作用描述
 * @Author: hmm
 * @CreateDate: 2019/7/25$ 23:32$
 * @UpdateUser: hmm
 * @UpdateDate: 2019/7/25$ 23:32$
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
public class Demo2 {

    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            new Thread(()->{
                System.out.println(Thread.currentThread().getName() + "excute");
                new BussnissThread().run();
            }).start();
            new Thread(()->{
                System.out.println(Thread.currentThread().getName() + "excute");
                new BussnissThread().run();
            }).start();
            new Thread(()->{
                System.out.println(Thread.currentThread().getName() + "excute");
                new BussnissThread().run();
            }).start();
        }
        System.out.println(Thread.currentThread().getName() + ">>>>>>main excute");
    }

}
